<div class='task-long-text-tab'>
    <div class='breadcrumbs' route='BreadCrumbR' itemId='name'>
    <h4>history....</h4>
    <?php foreach($history as $log): ?>
      <b><?php echo GraduaDate::formatdFYHi($log['time']) ?></b> -
      <?php echo $log['name'] ?>
      <?php if(!is_null($log['description'])): ?>
      <a href="javascript:void(0)" onclick="$('#history-description-<?php echo $log['id'] ?>').toggle()">
       view
      </a>
      =
      <div id='history-description-<?php echo $log['id'] ?>' style='display:none; border: solid #999 1px; padding: 5px; margin:5px;'>
        <?php echo nl2br($log['description']) ?>
      </div>
      <?php endif; ?>
      <br/>
    <?php endforeach; ?>
    </div>
</div>